<template>
    <div>
        <!--头部-->
        <hotelPay></hotelPay>
        <Payment></Payment>
    </div>
</template>

<script>
    import Payment from "@/components/optimization/Payment";
    import hotelPay from "@/components/optimization/hotelPay";
    export default {
        name: "ConfirmPayment",
        components: {
            Payment,
            hotelPay
        },
        data(){
            return{
                hotelOrder:{
                    orderNo:"",
                    price:""
                }
            };
        },mounted(){
            this.hotelOrder.orderNo=this.$route.query.orderNo1;
            this.hotelOrder.price=this.$route.query.price;
        },methods:{
        },
        created:function () {
            // this.hotelOrder[0].orderNo=this.$route.params.orderNo;
            // this.hotelOrder[1]=this.$route.params.hotelOrder;

            // eslint-disable-next-line no-undef
            if (typeof M !== "undefined" && typeof M.loadResource === "function") {
                // eslint-disable-next-line no-undef
                M.loadResource(
                    "https://js.mafengwo.net/js/cv/js+module+app+Page:js+M+module+dialog+Layer:js+M+module+dialog+DialogBase:js+M+module+dialog+Dialog:js+M+module+dialog+alert:js+M+module+FrequencyVerifyControl:js+M+module+FrequencySystemVerify:js+ALogin:js+ACnzzGaLog:js+ARecruit^YVda^1559526936.js"
                );
            }
        }
    }
</script>

<style scoped>
    .text-left{
        text-align: left;
    }
</style>